Hizzle\Noptin\Emails\Email D

Total Complexity 219
Dependencies 5
Dependents 13
Total lines 1,538
Lines of code 828
Logical lines of code 428
Comment lines 419
Methods 57
Properties 12

Methods 57

Method Rating Maintainability Complexity Lines of code
init()
C
30 28 117
handle_send_to()
B
37 18 70
send()
B
36 16 73
check_can_send()
A
50 11 25
parse_attachment_file_path()
A
45 9 38
save()
A
44 8 43
__construct()
A
56 8 18
get()
S
57 6 15
get_attachments()
S
58 6 15
init_args()
S
57 5 16
get_contexts()
S
60 5 14
supports()
S
62 5 11
get_js_data()
S
47 3 38
duplicate()
S
57 4 16
get_sends_after_unit()
S
65 5 8
get_base_url()
S
62 4 11
send_to()
S
55 3 22
get_edit_url()
S
58 3 17
get_children()
S
58 3 17
get_email_type()
S
64 4 9
get_merge_tags()
S
56 2 21
prepare_preview()
S
58 2 15
sends_immediately()
S
70 3 6
get_preview_url()
S
68 3 7
get_template()
S
64 3 10
get_content()
S
66 3 9
get_sender()
S
68 3 6
can_send()
S
69 3 7
get_view_in_browser_url()
S
61 2 13
current_user_can_delete()
S
71 2 6
current_user_can_edit()
S
71 2 6
from()
S
72 2 6
is_mass_mail()
S
78 2 3
restore()
S
67 2 8
trash()
S
67 2 8
delete()
S
66 2 8
get_sub_type()
S
67 2 7
get_manual_recipients_ids()
S
74 2 4
get_placeholder_recipient()
S
62 2 10
get_recipients()
S
75 2 4
get_trigger()
S
78 2 3
is_automation_rule()
S
77 2 3
to_array()
S
62 1 14
is_published()
S
74 1 4
get_click_count()
S
74 1 4
get_open_count()
S
74 1 4
get_send_count()
S
73 1 4
get_sends_after()
S
80 1 3
supports_timing()
S
78 1 3
exists()
S
80 1 3
get_delete_url()
S
80 1 3
get_action_url()
S
68 1 7
__get()
S
80 1 3
get_subject()
S
82 1 3
get_duplication_url()
S
80 1 3
get_sub_types()
S
80 1 3
get_unsubscribe_count()
S
74 1 4